var wan_route_x = "<% nvram_get("wan_route_x"); %>"
var wan_nat_x = "<% nvram_get("wan_nat_x"); %>"
var model = "<% model(); %>"

var CONFIG_NONE 		= 0x0000
var CONFIG_MJPG 		= 0x0001
var CONFIG_LPRNG 		= 0x0002
var CONFIG_P910ND		= 0x0004
var CONFIG_SAMBA		= 0x0008
var CONFIG_NFSD			= 0x0010
var CONFIG_IPV6			= 0x0020
var CONFIG_SNMP			= 0x0040
var CONFIG_VSFTPD		= 0x0080
var CONFIG_NTFS			= 0x0100
var CONFIG_NTFS3G		= 0x0200
var CONFIG_MADWIMAX		= 0x0400
var CONFIG_MODEM		= 0x0800
var CONFIG_LLTD			= 0x1000
var CONFIG_ALL			= 0xFFFF
var rt_config = CONFIG_ALL
